package com.platform.entity;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.platform.utils.JsonTimeSerializer;


/**
 * @author lipengjun
 * @email 939961241@qq.com
 * @date 2017-08-13 10:41:06
 */
public class CollectEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //主键
    private Integer id;
    //用户Id
    private Integer userId;
    private String userName;
    //产品Id
    private Integer valueId;
    private String valueName;
    //添加时间
    private Date addTime;
    //是否提醒
    private Integer isAttention;
    //0 goodsEntity   1 CategoryEntity
    private Integer typeId;
    ///////////////////////////////////////////////
    ///////////////////商品翻译字段////////////////////
    ///////////////////////////////////////////////
    //商品主图
    private String primaryPicUrl;
    //商品列表图
    private String listPicUrl;
    //推广描述
    private String promotionDesc;

    private Integer goodsType;
    
    ///////////////////////////////////////////////
    ///////////////////书名翻译字段////////////////////
    ///////////////////////////////////////////////
    private String frontDesc;
    
    private String iconUrl;

    private Integer type;
    
    public Integer getGoodsType() {
		return goodsType;
	}

	public void setGoodsType(Integer goodsType) {
		this.goodsType = goodsType;
	}

    /**
     * 设置：主键
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取：主键
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置：用户Id
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 获取：用户Id
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * 设置：产品Id
     */
    public void setValueId(Integer valueId) {
        this.valueId = valueId;
    }

    /**
     * 获取：产品Id
     */
    public Integer getValueId() {
        return valueId;
    }

    /**
     * 设置：添加时间
     */
    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    /**
     * 获取：添加时间
     */
    public Date getAddTime() {
        return addTime;
    }

    /**
     * 设置：是否提醒
     */
    public void setIsAttention(Integer isAttention) {
        this.isAttention = isAttention;
    }

    /**
     * 获取：是否提醒
     */
    public Integer getIsAttention() {
        return isAttention;
    }

    /**
     * 设置：
     */
    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    /**
     * 获取：
     */
    public Integer getTypeId() {
        return typeId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getValueName() {
        return valueName;
    }

    public void setValueName(String valueName) {
        this.valueName = valueName;
    }

	public String getPrimaryPicUrl() {
		return primaryPicUrl;
	}

	public void setPrimaryPicUrl(String primaryPicUrl) {
		this.primaryPicUrl = primaryPicUrl;
	}

	public String getListPicUrl() {
		return listPicUrl;
	}

	public void setListPicUrl(String listPicUrl) {
		this.listPicUrl = listPicUrl;
	}

	public String getPromotionDesc() {
		return promotionDesc;
	}

	public void setPromotionDesc(String promotionDesc) {
		this.promotionDesc = promotionDesc;
	}

	public String getFrontDesc() {
		return frontDesc;
	}

	public void setFrontDesc(String frontDesc) {
		this.frontDesc = frontDesc;
	}

	public String getIconUrl() {
		return iconUrl;
	}

	public void setIconUrl(String iconUrl) {
		this.iconUrl = iconUrl;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}
}